import isDev from './env'

export function urlBuilder(path = '') {
  if (isDev) return new URL(path, 'http://localhost:3000')
  return new URL(path) //, getAggregationData()?.url.webUrl
}
